package net.lab1024.sa.admin.module.users.dao;

import java.util.List;
import net.lab1024.sa.admin.module.users.domain.entity.UsersEntity;
import net.lab1024.sa.admin.module.users.domain.form.UsersQueryForm;
import net.lab1024.sa.admin.module.users.domain.vo.UsersVO;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Component;

/**
 * 实训室管理系统 Dao
 *
 * @Author 王俊权
 * @Date 2024-11-06 10:32:24
 * @Copyright 🐂🐎bloc
 */

@Mapper
@Component
public interface UsersDao extends BaseMapper<UsersEntity> {

    /**
     * 分页 查询
     *
     * @param page
     * @param queryForm
     * @return
     */

    List<UsersVO> queryPage(Page page, @Param("queryForm") UsersQueryForm queryForm);
}
